xpi Template {	
 interface i = public interface DecoratedStringGenerator;
 class c1 = public class SimpleGenerator;
 class c2 = public class FancyGenerator;
 method m1 = public String generete(String);
 method m2 = public String prepare(String);
 method m3 = public String filter(String);
 method m4 = public String finalize(String);
  rules:
  i;
  c1;	
  c2;
  m1 methodOf i;
  all m: method | m.name(Generate) => m call m2 && m call m3 && m call m4;	
}